<%--
  Created by IntelliJ IDEA.
  User: 迷路的麋鹿
  Date: 2018/4/14
  Time: 17:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<jsp:useBean id="user" scope="request" class="com.pml.bean.Register"/>
<form action="check.jsp" method="post">
   姓名： <input type="text" name="name" value="<jsp:getProperty name="user" property="name"/>"/>
    <%=user.getErrMsg("errName")%><br>
    年龄:<input type="text" name="age" value="<jsp:getProperty name="user" property="age"/>"/>
    <%=user.getErrMsg("errAge")%><br>
    邮箱：<input type="text" name="email" value="<jsp:getProperty name="user" property="email"/>"/>
    <%=user.getErrMsg("errEmail")%><br>
    <input type="submit">

</form>
</body>
</html>
